package com.lsp.feign.impl;

import com.lsp.feign.ProductFeign;
import com.shop.to.AttrTo;
import org.springframework.stereotype.Component;

@Component
public class ProductFeignImpl implements ProductFeign {
    @Override
    public AttrTo findNameByAttrId(Long attrId) {
        AttrTo attrTo=new AttrTo();
        attrTo.setCode(500);
        attrTo.setAttrName("当前服务被禁用");
        return attrTo;
    }
}
